<ion-header>
  <div class="uh bc-head  ubb bc-f6">
    <div class="ub ub-ac">
      <div class="nav-btn" id="nav-left" (click)="navCtrl.pop()">
        <img src="assets/imgs/back_btn.png" />
      </div>
      <h1 class="ut ub-f1 ulev-3 ut-s tx-c" tabindex="0">找回密码</h1>
      <div class="nav-btn zhuce" id="nav-right"></div>
    </div>
  </div>
</ion-header>
<ion-content>
  <div class="bc-bg" tabindex="0" data-control="PAGE" id="Page">
    <div class="" data-control="CONTENT" id="ScrollContent">
      <div class="scrollbox">
        <div class="ub ub-ver  ub-fh contentpadding">
          <form method="get" action="">
            <div class="bc-wihte ubb ubt bc-cc padleft">
              <div class="ub ub-ac  umh5 ">
                <div class=" uinput ub ub-ac ub-f1 li">
                  <div class="icon  sc-text" style="margin-right: 0.18em;">
                    <img src="assets/imgs/login/icon-mobile.png" />
                  </div>
                  <input style="padding:0" placeholder="请输入手机号" maxlength="11" type="number" name="mobile" [(ngModel)]="mobile" class="ub-f1 phonenum number">
                  <div class="delete delphone" style="display:none">
                    <img src="assets/imgs/img/close2.png" />
                  </div>
                  <div class="yanzhengma" (click)="getVerifyCode()" *ngIf="verifyCodeWait">
                    获取验证码
                  </div>
                  <div class="yanzhengma" *ngIf="!verifyCodeWait">
                    {{vcodetime}}秒后重试
                  </div>
                </div>
              </div>
              <div class="ub ub-ac ubt bc-cc umh5">
                <div class=" uinput ub ub-ac ub-f1 li">
                  <div class=" icon sc-text" style="margin-right: 0.18em;">
                    <img src="assets/imgs/login/yanzhengma.png" />
                  </div>
                  <input style="padding:0" [(ngModel)]="vcode" name="vcode" placeholder="请输入验证码" type="number" class="umw4 ub-f1 number">
                  <div class="delete" style="display:none">
                    <img src="assets/imgs/img/close2.png" />
                  </div>

                </div>
              </div>
              <div class="ub ub-ac ubt bc-cc umh5">
                <div class=" uinput ub ub-ac ub-f1 li">
                  <div class="sc-text">
                    <img class="suo" src="assets/imgs/login/mima.png" style="width: 1.3em;height: 1.3em;" />
                  </div>

                  <input type="password" *ngIf="chakanPwd" [(ngModel)]="password" name="password" style="padding:0" placeholder="请输入6-20位密码"
                    class="umw4 ub-f1 password">
                  <input type="text" *ngIf="!chakanPwd" [(ngModel)]="password" name="password" style="padding:0" placeholder="请输入6-20位密码" class="umw4 ub-f1 password">
                  <div class="eye ub ub-ac" (click)="chaPwd(1)">
                    <img src="{{chakanPwd?'assets/imgs/login/biyan.png':'assets/imgs/login/yanjing.png'}}" />
                  </div>

                  <!-- <input style="padding:0" placeholder="请输入6-20位密码" type="password" name="password" [(ngModel)]="password" class="umw4 ub-f1 password">
                  <div class="eye ub ub-ac">
                    <img src="assets/imgs/login/biyan.png" />
                  </div> -->

                </div>
              </div>
              <div class="ub ub-ac ubt bc-cc umh5">
                <div class=" uinput ub ub-ac ub-f1 li">
                  <div class="sc-text">
                    <img class="suo" src="assets/imgs/login/mima.png" style="width: 1.3em;height: 1.3em;" />
                  </div>
                  <!-- <input style="padding:0" placeholder="请再次输入密码" type="password" name="password2" [(ngModel)]="password2" class="umw4 ub-f1 password">
                  <div class="eye ub ub-ac">
                    <img src="assets/imgs/login/biyan.png" />
                  </div> -->
                    <input style="padding:0" [(ngModel)]="password2" name="password2" *ngIf="chakanPwd2" placeholder="请输入密码(6-20位且为字母数字组合)" type="password"
                      class="umw4 ub-f1 password">
                    <input style="padding:0" [(ngModel)]="password2" name="password2" *ngIf="!chakanPwd2" placeholder="请输入密码(6-20位且为字母数字组合)" type="text"
                      class="umw4 ub-f1 password">
                    <div class="eye ub ub-ac" (click)="chaPwd(2)">
                      <img src="{{chakanPwd2?'assets/imgs/login/biyan.png':'assets/imgs/login/yanjing.png'}}" />
                    </div>
                </div>
              </div>
            </div>
          </form>
          <div class="ub ub-ver tx-l">
            <div class="uinn-at1">
              <!--  -->
              <button class="button  ub ub-ac bc-text-head ub-pc bc-btn uc-a1"   [disabled]="password2==null" id="submit1" (click)="resetPassword()"
                style="border-radius: 3px;">
                确定
              </button>
            </div>
          </div>
        </div>
      </div>
      <div class="uinn-4b"></div>
    </div>
  </div>
</ion-content>
